<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>简单输入文本页面</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 50px;
        }
        .input-container {
            margin-top: 20px;
        }
        label {
            display: block;
            margin-bottom: 5px;
        }
        input[type="text"] {
            width: 300px;
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        button {
            padding: 8px 16px;
            margin-left: 10px;
            border: none;
            background-color: #007bff;
            color: white;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>

    <h1>请输入您的信息</h1>
    <div class="input-container">
        <label for="textInput">文本输入：</label>
        <input type="text" id="textInput" name="textInput" placeholder="在这里输入文本...">
        <button onclick="submitText()">提交</button>
    </div>

    <script>
        function submitText() {
            var text = document.getElementById('textInput').value;
            if(text.trim() === "") {
                alert("请输入一些文本！");
                return;
            }
            alert("您输入的文本是：" + text);
        }
    </script>

</body>
</html>
